Machine learning for physical sciences